﻿using Abp.vNext.WT.Domain.Issues;
using Abp.vNext.WT.WebApi.Contracts.Issues.Dtos;
using AutoMapper;

namespace Abp.vNext.WT.WebApi;

public class ApplicationAutoMapperProfile : Profile
{
    public ApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        // 从仓储层查询出来映射到前端 DTO
        CreateMap<Issue, IssueDto>();

        // 从前端 DTO 传递给后端
    }
}
